﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CQIE.TES.IService;
using CQIE.TES.WEB.ADMIN.Filter;

namespace CQIE.TES.WEB.ADMIN.Controllers.Evaluating
{
    public class EvaluatingController : Controller
    {
        public IStudyYearService StudyYearService { get; set; }

        [MyFilter]
        public ActionResult Index()
        {
            return Redirect("/Views/EvaluatingIndex.html");
        }

        [MyFilter]
        public ActionResult Manager()
        {
            ViewBag.StudyYears = StudyYearService.GetStudyYearsInfo();
            return View();
        }
    }
}